<?php
/**
 * Класс таблицы "resource_types"
 * 
 * @author naspeh
 * @version $Id: ResourceTypes.php 659 2008-06-15 11:34:26Z naspeh $
 */
class Core_Table_ResourceTypes extends Core_Table_Resource_Abstract
{
    /**
     * Имя
     *
     * @var string
     */
    protected $_name = 'resource_types';
    /**
     * Связное поле
     *
     * @var string
     */    
    protected $_fieldTie = 'resource_type_id';
    /**
     * Карта связей
     *
     * @var array
     */    
    protected $_referenceMap    = array(
        'Resource' => array(
            'columns'           => array('id'),
            'refTableClass'     => 'Core_Table_Resources',
            'refColumns'        => 'resource_type_id',
        )
    );    
}